package ebuy.com.server.imp;

import ebuy.com.dao.Goofsdao;
import ebuy.com.pojo.Commodity;
import ebuy.com.pojo.Goofs;
import ebuy.com.server.Goofssever;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
@Service
public class Goofsseverimp implements Goofssever {
    @Autowired
    private Goofsdao goofsdao;
    @Override
    public List<Commodity> Getproductsaccordingtoid(Integer id) {
        return goofsdao.Getproductsaccordingtoid(id);
    }
}
